package com.btkjgc.models;
// default package
 

 
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.springframework.format.annotation.DateTimeFormat;


/**
 * PackagePostage entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "package_postage_t")
@DynamicUpdate(true)
@DynamicInsert(true)
public class PackagePostage extends Base implements java.io.Serializable {
	
     // SpringMVC日期类型转换问题三大处理方法归纳 
     //http://blog.csdn.net/chenleixing/article/details/45190371
     // Fields    
     private Integer id;
     private String name;
     private Integer type;
     private String cityids;
     @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")  
     private Date beginTime;
     @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")  
     private Date endTime;
     private Integer del;
     @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")  
     private Date operdate;
     @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")  
     private Date createdate;
     private Integer operid;
     private Integer status;
     private Integer publicCharge;
     private Integer bill;
     private Integer unitprice;
     private String provinceids;
   
    // Property accessors
	@Id  
	@Column(name="id",unique=true)  
    @GeneratedValue(strategy=GenerationType.AUTO)  
    public Integer getId() {
        return this.id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public Integer getType() {
        return this.type;
    }
    
    public void setType(Integer type) {
        this.type = type;
    }

    public String getCityids() {
        return this.cityids;
    }
    
    public void setCityids(String cityids) {
        this.cityids = cityids;
    }
 

	public Date getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Integer getDel() {
        return this.del;
    }
    
    public void setDel(Integer del) {
        this.del = del;
    }

    public Date getOperdate() {
        return this.operdate;
    }
    
    public void setOperdate(Date operdate) {
        this.operdate = operdate;
    }

    public Date getCreatedate() {
        return this.createdate;
    }
    
    public void setCreatedate(Date createdate) {
        this.createdate = createdate;
    }

    public Integer getOperid() {
        return this.operid;
    }
    
    public void setOperid(Integer operid) {
        this.operid = operid;
    }

    public Integer getStatus() {
        return this.status;
    }
    
    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getPublicCharge() {
        return this.publicCharge;
    }
    
    public void setPublicCharge(Integer publicCharge) {
        this.publicCharge = publicCharge;
    }

    public Integer getBill() {
        return this.bill;
    }
    
    public void setBill(Integer bill) {
        this.bill = bill;
    }

    public Integer getUnitprice() {
        return this.unitprice;
    }
    
    public void setUnitprice(Integer unitprice) {
        this.unitprice = unitprice;
    }

	public String getProvinceids() {
		return provinceids;
	}

	public void setProvinceids(String provinceids) {
		this.provinceids = provinceids;
	}

}